﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Pacocation
{
    class Tempo
    {
        SpriteFont temporizador;
        public float segundos;
        public float minutos;
       


        public Tempo(ContentManager Content)
        {
            temporizador = Content.Load<SpriteFont>("Temp");
        }

        public void Draw(SpriteBatch spriteBatch)
        {
            spriteBatch.Begin();
            spriteBatch.DrawString(temporizador, minutos.ToString() + " : " + segundos.ToString(), new Vector2(70, 365), Color.Black);
            spriteBatch.End();
        }
        
    }
}
